package com.haven.webrobotserver.service.impl;

import com.haven.webrobotserver.dao.mybatis.mapper.LibraryMapper;
import com.haven.webrobotserver.domain.Library;
import com.haven.webrobotserver.service.LibraryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LibraryServiceImpl implements LibraryService {

    @Autowired(required = false)
    private LibraryMapper libraryMapper;

    @Override
    public List<Library> getLibraryList(String libraryName, String libraryType, String libraryFunction) {

        List<Library> libraryList = libraryMapper.getLibraryList(libraryName, libraryType, libraryFunction);

        return libraryList;

    }
}
